package cn.yedong.order.service;

import cn.yedong.basic.util.QueryResult;
import cn.yedong.order.domain.OrderPetAcquisition;
import cn.yedong.basic.service.IBaseService;
import cn.yedong.order.dto.OrderDto;
import cn.yedong.order.query.OrderPetAcquisitionQuery;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yedong
 * @since 2023-02-21
 */
public interface IOrderPetAcquisitionService extends IBaseService<OrderPetAcquisition> {
    //方法重载：重新设置query参数，达到不同角色登陆之后分页显示看到（查询）的内容不一样
    QueryResult<OrderPetAcquisition> pageQuery(OrderPetAcquisitionQuery query, HttpServletRequest request);
    //订单管理 - 取消订单
    void cancel(Long id);
    //订单管理 - 确认订单
    void confirm(OrderDto orderDto);
}
